home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / InteractiveBook_Files / Examples / Chapter1 / Scheduling / 3 add schedule.nsm < prev    next >
Encoding:
Text File  |  2002-03-08  |  1.6 KB  |  44 lines

  1. //activeBreadboard. lockWindowUpdate()
  2. //
  3. // 
  4. //
  5. subtitleTextBox. setText ("")
  6. mainTextBox. setText ("")
  7.  
  8.  
  9. //
  10. // setup up scheduler
  11. //
  12. activeBreadboard. stampOnAndMove ( "LinearScheduler" , "hidden1SynapseBackpropGradient" )
  13. linearScheduler. setStop ( 100 )
  14. linearScheduler. setBeta ( -0.0005000 )
  15. linearScheduler. setMinimum ( 0.0001000 )
  16. activeBreadboard. stampOnAndMove ( "MatrixViewer" , "linearScheduler" )
  17. activeBreadboard. select ( "matrixViewer" , FALSE )
  18. matrixViewer. openEngineWindow (  )
  19. matrixViewer. setName ( "learningRateViewer" )
  20. activeBreadboard. select ( "learningRateViewer" , FALSE )
  21. learningRateViewer. setEnableLabels ( TRUE )
  22. learningRateViewer. setLabel ( "" )
  23. learningRateViewer. setAccessRows ( FALSE )
  24. learningRateViewer. setLabel ( "Learning Rate" )
  25. learningRateViewer.tileWindow(4,4,4,6)
  26. activeBreadboard. select ( "arrowEngine" , FALSE )
  27. activeBreadboard. cutSelection (  )
  28. activeBreadboard. stampOnAndMove ( "ArrowEngine" , "learningRateViewer" )
  29.  
  30. hidden1SynapseBackpropGradient. setStepSize ( 0.020000 )
  31.  
  32. //
  33. // fill in text
  34. //
  35. TextBoxPath = macro. pathFromMacro("textbox1.txt")
  36. NextMacroPath = macro. pathFromMacro ( "4 scheduling summary.nsm" )
  37. nextButton. setMacroPath ( NextMacroPath )
  38. CancelMacroPath= macro.pathFromMacro("..\minimize.nsm")
  39. cancelButton. setMacroPath ( CancelMacroPath)
  40. TitleIndex = titleTextBox. setTextFromFile (TextBoxPath, 0)
  41. SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, 0)
  42. MainIndex = mainTextBox. setTextFromFile (TextBoxPath, 0)
  43. //activeBreadboard. unlockWindowUpdate()
  44.